package cn.gqr.mapper;

import cn.gqr.entity.BookType;

import java.util.List;

public interface TypeMapper {

    //全查询
    List<BookType> findAll();

    //全查询2
    List<BookType> findAll2();

    //id查询
    BookType findById(int id);

    //添加
    int add(BookType bookType);

    //修改
    int update(BookType bookType);
}
